<nz-tabset>
  <nz-tab nzTitle="生豆出入库明细列表">

      <nz-table #basicTable  [nzData]="cl">
        <thead>
        <tr>
          <th>类型</th>
          <th>发生时间</th>
          <th>数量（公斤）</th>
          <th>品名</th>
        </tr>
        </thead>
        <tbody>
        <tr *ngFor="let data of basicTable.data">
          <td>{{data.type}}</td>
          <td>{{data.changedate | date:'yyyy-MM-dd HH:mm'}}</td>
          <td>{{data.changetotal}}</td>
          <td>
            {{data.busid}}
          </td>
        </tr>
        </tbody>
      </nz-table>
  </nz-tab>

  <nz-tab nzTitle="包材出入库明细列表">
      <nz-table #basicTable1 [nzData]="ml">
        <thead>
        <tr>
          <th>类型</th>
          <th>发生时间</th>
          <th>数量（包）</th>
          <th>品名</th>
        </tr>
        </thead>
        <tbody>
        <tr *ngFor="let data of basicTable1.data">
          <td>{{data.type}}</td>
          <td>{{data.changedate | date:'yyyy-MM-dd HH:mm'}}</td>
          <td>{{data.changetotal}}</td>
          <td>
            {{data.busid}}
          </td>
        </tr>
        </tbody>
      </nz-table>

  </nz-tab>

</nz-tabset>
